Search
Diagram.GetItemAt Method (PointF, Predicate(DiagramItem), Boolean, Boolean, Boolean, Boolean)
See Also
 





Returns the top-most diagram item lying at the specified location.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramItem GetItemAt (
    PointF point,
    Predicate<DiagramItem> predicate,
    bool exclLocked,
    bool includeHandles,
    bool includeLabels,
    bool activeFirst
)

Visual Basic  Copy Code

Public Function GetItemAt( _
    point As PointF, _
    predicate As Predicate(Of DiagramItem), _
    exclLocked As Boolean, _
    includeHandles As Boolean, _
    includeLabels As Boolean, _
    activeFirst As Boolean _
) As DiagramItem

 Parameters

point

Specifies a location in the diagram where to look for items.

predicate

A predicate specifying which items to hit-test.

exclLocked

Specifies whether locked links should be excluded from the search.

includeHandles

true to also consider adjustment handle locations (possibly outside of item's bounds).

includeLabels

true to also consider item label locations (possibly outside of item's bounds).

activeFirst

Specifies whether to test ActiveItem first, disregarding Z order.

 Return Value

A DiagramItem instance found at the specified point.

 See Also